package com.loong.shop.model;

import com.loong.common.mybatis.entity.BaseEntity;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "goods_category")
public class GoodsCategory extends BaseEntity {
    /**
     * 类别名称
     */
    @Column(name = "category_name")
    private String categoryName;

    /**
     * 父类别
     */
    @Column(name = "parent_id")
    private Long parentId;

    /**
     * logo图标
     */
    private String logo;

    /**
     * 店铺id
     */
    private Long shopId;
}